<html>
<head>
<title> Test Doc </title>

</script>

<script type="text/javascript">
function test(){
document.write("status is ok");
document.write("<br>");
document.write("<p>hi<\/p>");
}
</script>


   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
   <script type="text/javascript">
     $(document).ready(function(){
       $("a").click(function(event){
         alert("As you can see, the link no longer took you to jquery.com");
         event.preventDefault();
       });
     });
     
   </script>


</head>

<body>

<script type="text/javascript">
test();
</script>

</br>

   <a href="http://jquery.com/">jQuery</a>


</body>

</html>